from flask import Flask
from message.msg_flask import app_msg
from admins.admin_flask import app_admin
from account_numbers.account_flask import app_account
from personal_center.person_senter_flask import app_person
from flask_cors import CORS

app = Flask(__name__)
CORS(app)
app.register_blueprint(app_msg)
app.register_blueprint(app_admin)
app.register_blueprint(app_person)
app.register_blueprint(app_account)


@app.route('/')
def index():

    return'欢迎来到小强拼车'

if __name__ == "__main__":
    
    app.run(debug=True)